/**
 * 表格肩部按钮click事件
 */
import presetVar from '../presetVar';
import {AddRow} from './commonEvent'

const { body1, body2 } = presetVar.body;
const head1 = presetVar.head.head1;


function tableButtonClick() {
    return {
        [body1 + '_Add']: {
            afterClick: (record, index) => {
                AddRow(this.props,index)
            }
        }
    }
}

export default tableButtonClick;